#if !defined(AFX_REMOTEHIDEALARM_H__56EC95CD_EC12_4B7A_8CCF_DEF738A7A715__INCLUDED_)
#define AFX_REMOTEHIDEALARM_H__56EC95CD_EC12_4B7A_8CCF_DEF738A7A715__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RemoteHideAlarm.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CRemoteHideAlarm dialog

class CRemoteHideAlarm : public CDialog
{
// Construction
public:
	CRemoteHideAlarm(CWnd* pParent = NULL);   // standard constructor

	int		m_iChannel;
	LONG	m_lServerID;
	BOOL	m_bDrawdetect;
	LONG	m_iPlayhandle;

	DWORD m_dwAlarmOutNum;
	void EnableControl(BOOL bEnable);
	BOOL F_TimeTest();
	void ShowRect();
// Dialog Data
	//{{AFX_DATA(CRemoteHideAlarm)
	enum { IDD = IDD_DLG_SETHIDEALARM };
	CComboBox	m_WeekDayCtrl;
	CComboBox	m_CopyTimeCtrl;
	CComboBox	m_SensitiveCtrl;
	CStatic	m_DetectPic;
	BOOL	m_bHandleType1;
	BOOL	m_bHandleType2;
	BOOL	m_bHandleType3;
	BOOL	m_bHandleType4;
	BOOL	m_bGetHideAlarm;
	BOOL	m_bSetHideAlarm;
	BOOL	m_bAlarmOut1;
	BOOL	m_bAlarmOut2;
	BOOL	m_bAlarmOut3;
	BOOL	m_bAlarmOut4;
	int		m_iHour11;
	int		m_iHour12;
	int		m_iHour21;
	int		m_iHour31;
	int		m_iHour22;
	int		m_iHour32;
	int		m_iHour41;
	int		m_iHour42;
	int		m_iMin11;
	int		m_iMin12;
	int		m_iMin21;
	int		m_iMin22;
	int		m_iMin31;
	int		m_iMin32;
	int		m_iMin41;
	int		m_iMin42;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRemoteHideAlarm)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CRemoteHideAlarm)
	virtual void OnOK();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnCheckhidealarmgetrect();
	afx_msg void OnCheckhidealarmsetrect();
	afx_msg void OnExit();
	afx_msg void OnHidealarmok();
	afx_msg void OnCheckhandletype4();
	afx_msg void OnHidealarmtimeok();
	afx_msg void OnHidealarmtimecopy();
	afx_msg void OnSelchangeComboweekday();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnHideAlarmRectOk();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_REMOTEHIDEALARM_H__56EC95CD_EC12_4B7A_8CCF_DEF738A7A715__INCLUDED_)
